package com.yt.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 权限DTO
 *
 * @author xieyanfei
 * @Date 2025-09-08 11:05:07
 */
@Data
@TableName("sys_user_role")
@ApiModel(value="权限对象", description="权限对象")
public class SysUserRoleDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "版本号(用于乐观锁)")
    private Integer revision;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}